<template>
  <svg
    class="yindu-icon"
    width="16px"
    height="16px"
    viewBox="0 0 16 16"
    version="1.1"
    xmlns="http://www.w3.org/2000/svg"
    xmlns:xlink="http://www.w3.org/1999/xlink"
  >
    <defs>
      <polygon id="airport-path-1" points="0 0 13.9999 0 13.9999 14 0 14"></polygon>
    </defs>
    <g
      id="页面-1"
      stroke="none"
      stroke-width="1"
      fill="none"
      fill-rule="evenodd"
    >
      <g id="切图" transform="translate(-927.000000, -111.000000)">
        <g id="编组-4" transform="translate(927.000000, 111.000000)">
          <rect id="矩形" x="0" y="0" width="16" height="16"></rect>
          <g id="编组" transform="translate(1.000000, 1.000000)">
            <mask id="airport-mask-2" fill="white">
              <use xlink:href="#airport-path-1"></use>
            </mask>
            <g id="Clip-2"></g>
            <path
              d="M5.3299,14 L3.6859,10.314 L-0.0001,8.67 L1.3219,7.346 L3.7709,7.346 L5.8529,5.264 L1.2619,2.509 L3.2059,0.565 L8.4399,2.412 L11.3129,0.323 C11.6039,0.111 11.9479,0 12.3079,0 C13.2409,0 13.9999,0.759 13.9999,1.692 C13.9999,2.051 13.8879,2.395 13.6759,2.687 L11.5869,5.56 L13.4339,10.794 L11.4899,12.738 L8.7349,8.146 L6.6529,10.228 L6.6529,12.677 L5.3299,14 Z"
              id="Fill-1"
              fill="#3D88F2"
              mask="url(#airport-mask-2)"
            ></path>
          </g>
        </g>
      </g>
    </g>
  </svg>
</template>

<script setup lang="ts">
type Props = {
  fill?: string;
};

const props = withDefaults(defineProps<Props>(), {
  fill: "#3D88F2",
});

const fillColor = computed(() => {
  return props.fill;
});
</script>
<style scoped lang="less">
.yindu-icon {
  & path {
    fill: v-bind(fillColor);
  }
}
</style>
